-
Notifications
You must be signed in to change notification settings - Fork 490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Made ap-change be calculated without LP. #4250
Conversation
49c49a3
to
d8357e1
Compare
1c972c1
to
52dfa6b
Compare
d8357e1
to
adf0d6b
Compare
52dfa6b
to
81916e1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 5 files at r1, all commit messages.
Reviewable status: 2 of 5 files reviewed, 2 unresolved discussions (waiting on @liorgold2 and @orizi)
crates/cairo-lang-sierra-ap-change/src/compute.rs
line 54 at r1 (raw file):
} /// Helper to implement the `InvocationApChangeInfoProvider` for the equation generation.
Wrong doc.
crates/cairo-lang-sierra-ap-change/src/compute.rs
line 134 at r1 (raw file):
| ApChange::Known(_) | ApChange::DisableApTracking => { if let Some(locals) = self.locals.get(&idx) {
Consider changing it to locals_count
.
Code quote:
locals
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 2 of 5 files reviewed, 2 unresolved discussions (waiting on @gilbens-starkware and @liorgold2)
crates/cairo-lang-sierra-ap-change/src/compute.rs
line 54 at r1 (raw file):
Previously, gilbens-starkware (Gil Ben-Shachar) wrote…
Wrong doc.
Done.
crates/cairo-lang-sierra-ap-change/src/compute.rs
line 134 at r1 (raw file):
Previously, gilbens-starkware (Gil Ben-Shachar) wrote…
Consider changing it to
locals_count
.
it isn't count - it is size. Done.
81916e1
to
cf9605b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 5 files at r1, 2 of 2 files at r2, all commit messages.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @liorgold2 and @orizi)
crates/cairo-lang-sierra-ap-change/src/compute.rs
line 319 at r2 (raw file):
} /// Returns the locals count for a statement.
Suggestion:
e locals size
crates/cairo-lang-sierra-ap-change/src/compute.rs
line 354 at r2 (raw file):
} /// Calculates gas information for a given program.
Suggestion:
/// Calculates the ap change information for a given program.
crates/cairo-lang-sierra-ap-change/src/lib.rs
line 54 at r2 (raw file):
} /// Calculates gas information for a given program.
Suggestion:
ap change
cf9605b
to
76c4d5e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r3, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @liorgold2)
76c4d5e
to
02eabd7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r4, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @liorgold2)
02eabd7
to
7739d89
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 9 of 9 files at r5, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @liorgold2)
7739d89
to
0cb35de
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 5 of 5 files at r6, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @liorgold2)
0cb35de
to
bbb47e2
Compare
bd2fb94
to
02ee2cd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r7, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @liorgold2)
bbb47e2
to
6835021
Compare
02ee2cd
to
5a35253
Compare
6835021
to
7079d03
Compare
commit-id:b1c84e1f
7079d03
to
5ca52af
Compare
Stack:
This change is